package com.sumi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sumi.common.annotation.Excel;
import com.sumi.common.core.domain.BaseEntity;

/**
 * 资讯对象 sys_article
 * 
 * @author fgf67@163.com
 * @date 2024-06-26
 */
public class SysArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 分类 */
    @Excel(name = "分类")
    private Long catId;

    /** 名称 */
    @Excel(name = "名称")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 关键词 */
    @Excel(name = "关键词")
    private String keywords;

    /** 介绍 */
    @Excel(name = "介绍")
    private String description;

    /** 是否显示0，显示，1不显示 */
    @Excel(name = "是否显示0，显示，1不显示")
    private Long status;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCatId(Long catId) 
    {
        this.catId = catId;
    }

    public Long getCatId() 
    {
        return catId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setKeywords(String keywords) 
    {
        this.keywords = keywords;
    }

    public String getKeywords() 
    {
        return keywords;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("catId", getCatId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("keywords", getKeywords())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("sort", getSort())
            .toString();
    }
}
